<template>
  <div class="home-container">
    <div class="home-text">首页: ...mapGetters{{ avatar }}</div>
  </div>
</template>

<script>
import { mapGetters } from "vuex";
export default {
  name: "Home",
  data() {
    return {
      nowdate: ""
    };
  },
  computed: {
    ...mapGetters(["avatar"])
  }
};
</script>

<style lang="scss" scoped>
.home {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
